package com.twetec.cms.model.po.website;

import com.twetec.cms.model.po.base.BasePO;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 模板表
 * </p>
 *
 * @author zhxl
 * @since 2021-10-04
 */
@TableName("WEBSITE_TEMPLATE")
public class WebsiteTemplatePO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 模板名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 站点id
     */
    @TableField("SITE_ID")
    private Long siteId;

    /**
     * 是否使用0未使用,1使用
     */
    @TableField("IS_USE")
    private String use;

    /**
     * 模板编码
     */
    @TableField("CODE")
    private String code;

    /**
     * 模板类型, PC和H5
     */
    @TableField("TYPE")
    private String type;

    /**
     * 备注信息
     */
    @TableField("REMARK")
    private String remark;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getUse() {
        return use;
    }

    public void setUse(String use) {
        this.use = use;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WebsiteTemplatePO{" +
                "name='" + name + '\'' +
                ", siteId=" + siteId +
                ", use='" + use + '\'' +
                ", code='" + code + '\'' +
                ", type='" + type + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
